wpt_len = 20;
mag_wr_init_common(portname);
setshort_length(mkshort_handle, wpt_len);
+ setshort_whitespace_ok(mkshort_handle, 1);
}
static void
{
wpt_len = 8;
mag_wr_init_common(portname);
+ /*
+ * Whitespace is actually legal, but since waypoint name length is
+ * only 8 bytes, we'll conserve them.
+ */
+
+ setshort_whitespace_ok(mkshort_handle, 0);
}
static void
static void
mag_write(void)
{
- /*
- * Whitespace is actually legal, but since waypoint name length is
- * only 8 bytes, we'll conserve them.
- */
-
- setshort_whitespace_ok(mkshort_handle, 0);
wptcmtcnt = 0;